package com.okq.entity.base;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 描述 : 基础数据创建修改字段映射超类
 * 作者 : zdl
 * 日期 : 2017/6/28 9:32
 */
@MappedSuperclass
public class DataEntity extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -416698602925151073L;

    /**
     * 创建人Id
     */
    @Column(name = "createUserId", length = 40)
    private String createUserId;
    /**
     * 创建人姓名
     */
    @Column(name = "createUserName", length = 40)
    private String createUserName;
    /**
     * 创建时间
     */
    @Column(name = "createTime")
    private Timestamp createTime;
    /**
     * 修改人Id
     */
    @Column(name = "updateUserId", length = 40)
    private String updateUserId;
    /**
     * 修改人姓名
     */
    @Column(name = "updateUserName", length = 40)
    private String updateUserName;
    /**
     * 修改时间
     */
    @Column(name = "updateTime")
    private Timestamp updateTime;
    /**
     * 公司代码
     */
    @Column(name = "comCode", length = 40)
    private String comCode;
    /**
     * 是否删除0：未删除1：已删除
     */
    @Column(name = "isDelete")
    private Integer isDelete;

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getComCode() {
        return comCode;
    }

    public void setComCode(String comCode) {
        this.comCode = comCode;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
